<?php
// 获取APP配置信息
//
//

require $this->website['path']['action'] . '/admin/islogin.php';

$json = array('status' => 'ok', 'msg' => 'ok', 'data' => []);

$k = fn_post('k');

$arr = $this->website['class']['db']
	->table('configura')
	->field('v')
	->where('k=?', $k)
	->one();

$json['data'] = $arr['v'] ?? false;

$this->json_encode($json);